import React from 'react';
import styles from './index.module.scss';

const Header = ({ children, type }) => {
  return <div className={styles[type]}>{children}</div>;
};

const Text = ({ children, type }) => {
  return <div className={styles[type]}>{children}</div>;
};

const Typography = { Header, Text };

export default Typography;
